package _12简化Runnable实现代码;

public class Demo {
    public static void main(String[] args) {

        new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i = 0; i < 200; i++) {
                    System.out.println("runnable:"+i);
                }
            }
        }).start();


        for (int i = 0; i < 200; i++) {
            System.out.println("Main:"+i);
        }

    }
}
